package main

<<<<<<< HEAD

type IFoo interface {
	Foo()
}

type Bar struct {}

func (Bar) Foo () {}

func main() {
	var i IFoo
	var j IFoo

	i = Bar{}
	j = Bar{}

	println(i)
	println(j)
=======
import "fmt"

type I int

// 会重名
func (i I) Foo() {
	fmt.Print(i)
}
// func (*I) Foo() {}

func main() {
	i := I(1)
	i.Foo()
	(&i).Foo()
>>>>>>> 3c1243dff686db038fb531de3015ce38d8133c41
}
